<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
	<link rel="stylesheet" href="css/animate.css">
	<link rel="stylesheet" href="css/style.css">
</head>
<script type="text/javascript">
     function check(form){
    	 if(form.username.value==''){
    		 alert('用户名不能为空');
    		 form.username.focus();
    		 return false;
    	 }
    	 if(form.password.value==''){
    		 alert('密码不能为空');
    		 form.password.focus();
    		 return false;
    	 }
    	 return true;
     }
  </script>
<body>
<div class="container">
			<div class="row">
				<div class="col-md-12 text-center">
					<ul class="menu">
						<li class="active"><h2><a href="index.jsp">学生会信息管理系统</a></h2></li>
					</ul>
				</div>
			</div>
			<div class="row">
				<div class="col-md-4 col-md-offset-4">
                <s:form action="member_login" method="post" onsubmit="return check(this)"
                 namespace="/" class="fh5co-form animate-box" data-animate-effect="fadeIn">
                 <h3><s:actionerror/></h3>
                 <div class="form-group">
							<label for="username" class="sr-only">用户名</label>
							<input type="text" class="form-control" id="username" placeholder="请输入用户名" autocomplete="off" name="username">
						</div>
						<div class="form-group">
							<label for="password" class="sr-only">Password</label>
							<input type="password" class="form-control" id="password" placeholder="请输入密码" autocomplete="off" name="password">
						</div>
      <input type="submit"  class="btn btn-primary"  value="登录"/>
      </s:form>
<!-- END Sign In Form -->

				</div>
			</div>
			<div class="row" style="padding-top: 60px; clear: both;">
				<div class="col-md-12 text-center"><p><small>&copy;版权：萍乡学院  地址：江西省萍乡市萍安北大道211号 邮编：337055  联系电话：0799-6684899 传真：0799-6682222  备案序号： 赣ICP备12002309号</small></p></div>
			</div>
		
	<script src="js/jquery.min.js"></script>
	<script src="js/bootstrap.min.js"></script>
	<script src="js/jquery.placeholder.min.js"></script>
	<script src="js/jquery.waypoints.min.js"></script>
	<script src="js/main.js"></script>
</body>
</html>